package cn.laixueit.result;

import cn.laixueit.pojo.Brand;
import cn.laixueit.pojo.Category;
import com.sun.tracing.dtrace.ArgsAttributes;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.RequiredArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
public class PageResult<T> {
    private Long total;
    private List<T> items;
    private long totalPage;

    private List<Category> categoryList;
    private List<Brand> brandList;

    private List<Map<String,Object>> specList;
}
